package Modify

import "github.com/gogf/gf/v2/frame/g"

type Case struct {
	Case_cnt int      `json:"case_cnt"`
	Case_str []string `json:"case_str"`
}

type In_outPut struct {
	Dc   string `json:"dc"`
	Case []Case `json:"case"`
}

type ProblemModifyReq struct {
	g.Meta    `path:"/api/problem/ModifyProblem" method:"post"`
	ProblemId int64     `v:"required" p:"problem_id" dc:"题目id"`
	Name      string    `v:"required" p:"problem_name" dc:"题目名称"`
	Dc        string    `v:"required" p:"problem_dc" dc:"题目描述"`
	Input     In_outPut `v:"required" p:"input" dc:"输入描述"`
	Output    In_outPut `v:"required" p:"output" dc:"输出描述"`
	Ex_dc     string    `v:"required" p:"ex_dc" dc:"补充说明"`
}

type ProblemModifyRes struct {
	Problem_id int64 `json:"problem_id"`
}
